//
//  HXDLocationManager.h
//  qingDaoCircleOfLife
//
//  Created by huxuedong on 15/11/22.
//  Copyright © 2015年 huxuedong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

//定位成功的block
typedef void(^successLocal)(CLLocationCoordinate2D coordinate2D);
//定位失败的block
typedef void(^errorLocal)(NSError *error);

@interface HXDLocationManager : NSObject

//实例化单例方法
+ (instancetype)shareInstance;
//定位成功或者失败的方法
+ (void)localWithSuccess:(successLocal)success orError:(errorLocal)error;

@end
